<template>
	<view class="content">
		<view class="bindtip">你是否要修改当前使用的支付密码</view>
			
		<view class="bottom">
			<view class="button" @click="getSave(1)">不修改</view>
			<view class="submit" @click="getSave(2)">修改</view>
		</view>
			
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				password:'',
				code:'',
				disabled:false,
				timeText:'获取验证码',
				countdown:60,
				userInfo:{}
			}
		},
		onLoad() {
			let userInfo = JSON.parse(uni.getStorageSync(this.constant.StorageName.APP_USER_INFO));
			 this.userInfo = userInfo
		},
		methods: {
			
			// 保存
			getSave: function (type) {
				if (type == 1) {
					uni.navigateBack({
						delta: 1
					});
				} else if (type == 2) {
					uni.redirectTo({
						url: '../setPayPassword/setPayPassword',
					});
				}
				
			}
			
			
			
		}
	}
</script>

<style lang="less">
	page {
		width: 100%;
		box-sizing: border-box;
		letter-spacing: 3rpx;
		background: #FFFFFF;
		font-size: 28rpx;
		color: #212121;
		font-family: 'PingFang SC';
	}
	.content {
		width: 100%;
		box-sizing: border-box;
	}
	
	.bindtip {
		width: 100%;
		box-sizing: border-box;
		padding: 30rpx 40rpx;
		background: #F5F5F5;
		font-size: 32rpx;
		color: #E42221;
		text-align: center;
	}
	
	.bottom {
		width: 100%;
		box-sizing: border-box;
		padding: 30rpx 50rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 150rpx;
		view {
			width: 288rpx;
			height: 94rpx;
			line-height: 94rpx;
			text-align: center;
			border: 2rpx solid #F5F5F5;
			font-size: 30rpx;
			border-radius: 8rpx;
		}
		.button {
			color: #333333;
		}
		.submit {
			color: #FFFFFF;
			background: #E42221;
		}
	}

</style>
